package com.qdlc.p2p.common.constant;

/**
 * 红包兑现来源
 */
public enum RedEnvelopeFrom {
    USER_ENVELOPE("用户兑现", 1),
    LOTTERY_ENVELOPE("抽奖兑现", 2),
    TENDER_ENVELOPE("投标兑现", 3);

    String remark;
    int type;

    RedEnvelopeFrom(String remark, int type) {
        this.remark = remark;
        this.type = type;
    }

    public int getVal() {
        return type;
    }

    public String getRemark() {
        return remark;
    }
}